package com.cn.springcloudshop.mapper;

import com.cn.springcloudshop.model.YmShopCar;
import com.cn.springcloudshop.model.YmShopCarExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface YmShopCarMapper {
    int countByExample(YmShopCarExample example);

    int deleteByExample(YmShopCarExample example);

    int deleteByPrimaryKey(Long shopCarId);

    int insert(YmShopCar record);

    int insertSelective(YmShopCar record);

    List<YmShopCar> selectByExample(YmShopCarExample example);

    YmShopCar selectByPrimaryKey(Long shopCarId);

    int updateByExampleSelective(@Param("record") YmShopCar record, @Param("example") YmShopCarExample example);

    int updateByExample(@Param("record") YmShopCar record, @Param("example") YmShopCarExample example);

    int updateByPrimaryKeySelective(YmShopCar record);

    int updateByPrimaryKey(YmShopCar record);

    int deleteBatchByPK(@Param("shopCarIds") List<Long> shopCarIds);
}